/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package andre.grids.guids;

/**
 *
 * @author andre
 */
public interface IGuid {
    
    public IGuid cloneGuid();
    
    /*
     * @return O valor do guid em formato hexadecimal mínusculo
     * */
    public String toHexString();
    
    /*
     * @return Retorna uma cópia do vetor que representa o guid, o vetor original fica intacto
     * */
    public byte[] getValue();
    
    public byte[] getValueByRef();
    
    public void setComparator(GuidComparatorDelegate delegate);
    public GuidComparatorDelegate getComparator();
    
    @Override
    public boolean equals(Object o);
    
    @Override
    public int hashCode();
    
}
